﻿using ConfExpert.Forms.Base;
using DevTeam;

using System;
using System.Data;

namespace ConfExpert.Forms.Depo
{
    public partial class LocationConflict : XForm
    {
        public LocationConflict()
        {
            InitializeComponent();
        }

        private void LocationConflict_Load(object sender, EventArgs e)
        {
            DataSet ds = Session.DataManager.ExecuteDataSet("GetLocationConflict");
            gridView1.Init(ds.Tables[0]);
            gridView2.Init(ds.Tables[1]);

            gridView1.AddSummary("Qty");
            gridView2.AddSummary("Qty");

            gridView1.BestFitColumns();
            gridView2.BestFitColumns();

        }
    }
}